<div class="modal fade zanpian-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display:none;">
  <div class="modal-dialog clearfix">
    <div class="modal-content clearfix">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
         <div class="zanpian-modal-tabs">
          <ul id="myTab pull-left">
          <li class="active">绑定{eq name="param['type']" value="email"}邮箱{else/}手机{/eq}<li>
          </ul>
         </div>
    </div>
   <div class="col-md-9 col-md-offset-1">
          <form class="form-horizontal" method="post" role="form" onSubmit="return false;">
          {eq name="param['type']" value="email"}
          <input value="email" name="ac" id="ac" type="hidden">
          <input value="bind" name="type" id="type" type="hidden"> 
           <div class="form-group">
          <span for="user_mobile" class="col-md-3 control-label hidden-xs pr-0">您的邮箱:</span>
            <div class="col-md-8 col-xs-12">
              <input class="form-control" name="to" id="to" type="text" placeholder="您的Emai">
              <input type="button" id="send" class="btn btn-success" value="获取验证码" style="border-radius:0;cursor:pointer; position:absolute; right:15px;top:0">
            </div>
          </div>                    
            <div class="form-group">
           <span for="code" class="col-md-3 control-label hidden-xs pr-0">邮箱验证码:</span>
            <div class="col-md-8 col-xs-12">
              <input class="form-control txt"  id="code" name="code" type="text" placeholder="邮箱验证码">
            </div>
          </div> 
           {else/}
          <input value="mobile" name="ac" id="ac" type="hidden">
          <input value="bind" name="type" id="type" type="hidden"> 
           <div class="form-group">
          <span for="user_mobile" class="col-md-3 control-label hidden-xs pr-0">手机号码:</span>
            <div class="col-md-8 col-xs-12">
              <input class="form-control txt" name="to" id="to" type="text" placeholder="手机号码">
              <input type="button" id="send" class="btn btn-success" value="获取验证码" style="border-radius:0;cursor:pointer; position:absolute; right:15px;top:0">
            </div>
          </div>                    
            <div class="form-group">
           <span for="code" class="col-md-3 control-label hidden-xs pr-0">手机验证码:</span>
            <div class="col-md-8 col-xs-12">
              <input class="form-control txt"  id="code" name="code" type="text" placeholder="手机验证码">
            </div>
          </div>            
           {/eq}
            <div class="form-group mt20">
              <div class="col-md-3 hidden-xs"></div>
              <div class="col-md-8 col-xs-12">
                <button type="submit" class="btn btn-success btn-block" id="submit-bind">确定</button>
              </div>
            </div>
          </form>
          </div>

    </div>
</div>